<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改退住信息页面</title>
    <link rel="stylesheet" href="webjars/bootstrap/3.3.5/css/bootstrap.css" type="text/css">
    <script src="webjars/jquery/3.4.1/jquery.js"></script>
    <script src="webjars/bootstrap/3.3.5/js/bootstrap.js"></script>
    <style>
        input{
            width: 200px ;
            height: 25px;
            background-color: #f0f8ff;
            margin-bottom: 5px;
        }
        input:hover{
            border:2px #00ff00 solid;
        }
    </style>
</head>
<body>
<legend>修改退住登记信息</legend><br>
<form action="/withdrawal" method="post">
    <input type="text" name="id" th:value="${w.id}" readonly style="display:none">
    客户姓名：<input type="text" name="name" th:value="${w.name}"><br>
    性&emsp;&emsp;别：<input type="text" name="sex" th:value="${w.sex}" list="sts"><br>
        <datalist id="sts" style="display:none;">
            <option value="男">男</option>
            <option value="女">女</option>
        </datalist>
    年&emsp;&emsp;龄：<input type="date" name="age" th:value="${w.age}"><br>
    档案号：&emsp;<input type="text" name="fnumber" th:value="${w.fnumber}"><br>
    入住时间：<input type="date" name="citime" th:value="${w.citime}"><br>
    退住时间：<input type="date" name="withdrawaltime" th:value="${w.withdrawaltime}"><br>
    退住类型：<input type="text" name="withdrawatype" th:value="${w.withdrawatype}"><br>
    退住原因：<input type="text" name="withdrawareason" th:value="${w.withdrawareason}" list="ty"><br>
    <datalist id="ty" style="display:none;">
        <option value="正常退住">正常退住</option>
        <option value="保留床位">保留床位</option>
    </datalist>
    状&emsp;&emsp;态：<input type="text" name="status" th:value="${w.status}" list="sta"><br>
    <datalist id="sta" style="display:none;">
        <option value="通过">通过</option>
        <option value="拒绝">拒绝</option>
    </datalist>
    申请时间：<input type="date" name="apptime" th:value="${w.apptime}"><br>
    审核意见：<input type="text" name="auditopinion" th:value="${w.auditopinion}"><br>
    审核人：&emsp;<input type="text" name="reviewer" th:value="${w.reviewer}"><br>
    审核时间：<input type="date" name="reviewtime" th:value="${w.reviewtime}"><br>
    备&emsp;&emsp;注：<input type="text" name="remarks" th:value="${w.remarks}"><br>
    <!--添加隐藏域-->
    <input type="hidden" name="_method" value="put">
    <button>提交修改</button>
    <button type="button" onclick="history.go(-1)">返回</button>
</form>

</body>
</html>